package com.zp.drug.service;

import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;
import com.zp.drug.entity.bo.DrugExportDetailBo;
import com.zp.drug.entity.vo.DrugExportDetailVo;

import java.util.Collection;
import java.util.List;

/**
 * 药品出库明细Service接口
 *
 * @author zhang peng
 * @ date 2024-05-23
 */
public interface IDrugExportDetailService {

    /**
     * 查询药品出库明细
     */
    DrugExportDetailVo queryById(String detailId);

    /**
     * 查询药品出库明细列表(分页)
     */
    TableDataInfo<DrugExportDetailVo> queryPageList(DrugExportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询药品出库明细列表(不分页)
     */
    List<DrugExportDetailVo> queryList(DrugExportDetailBo bo);

    /**
     * 修改药品出库明细
     */
    Boolean insertByBo(DrugExportDetailBo bo);

    /**
     * 修改药品出库明细
     */
    Boolean updateByBo(DrugExportDetailBo bo);

    /**
     * 校验并批量删除药品出库明细信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
